
var GG = {};

$(document).ready(function() {
    defaultSettings = new GuiSettings();
    connectedUser = new User();
  
    GG.api = new GUIApi();
    GG.events = new GUIEvents();
    
    //Shortcut for selector
    GG.get = GG.api.getGG;  //TODO create GG.select class ?
    GG.getList = GG.api.getGGList;  
    
    if (autoLoad)
      {GG.api.autoLoad();}
  });